import type { GetCodeData, GetCodeParams } from "@/types/user";
import { request } from '@/utils/http'
// 1.获取短信验证码
export const getCodeApi = (params: GetCodeParams) => {
  return request.get<null, GetCodeData>('/code', { params })
}